<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Module Management</title>
    </head>
    <body>
        <s:form action="createClassGroup" namespace="/ClassGroupManagement" method="createNewClassGroup" >
            <s:select name="module.moduleId" 
                      list="modules" label="Module" listKey="moduleId" listValue="moduleCode"/>
            <s:textfield name="title" label="Title" />
            <s:checkboxlist name="students.studentId" label="Students"
                            list="students" listKey="studentId" listValue="name" />   
            <s:submit value="submit" name="submit" />
        </s:form>
    </body>
</html>
